home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / rbbs_pc / rbtch180.zip / TESTFIL3.ZIP / TESTFILE.DOC < prev    next >
Text File  |  1992-01-26  |  3KB  |  74 lines

  1. TESTFILE.EXE
  2. By Dan Shore - SysOp
  3. THE SHORELINE BBS
  4. 12/24/9600 HST
  5. 301-946-2771
  6.                            ---------------
  7.                            T E S T F I L E
  8.                            ---------------
  9.  
  10. This program will check files for dates and return an
  11. errorlevel of 1, if the percentage of files is GREATER than
  12. the SysOp specified amount.  If the percentage is EQUAL to
  13. the SysOp specified amount, the file testing will return an
  14. errorleve of 0.
  15.  
  16. This program WILL NOT check files INSIDE a compressed file.  You
  17. MUST decompress the file into a subdirectory containing only
  18. the files that are from the compressed file.  Basically the batch
  19. file would be something like this.
  20.  
  21.       Upload Directory = D:\TEST
  22.       Test Directory   = D:\TEST\1
  23.  
  24.       pkunzip d:\new\filename.zip d:\test\1
  25.       testfile 1985 50 d:\new\1
  26.       if errorlevel 1 del filename.zip
  27.       echo y | del d:\new\1\*.*
  28.       echo "File deleted - TOO OLD"  >  COM1
  29.  
  30.  
  31. The command line for TESTFILE is broken down as follows:
  32.  
  33.       TESTFILE <Date> <Percentage> <Path>
  34.  
  35.       Date = Earliest date allowed for files.
  36.              Input the WHOLE year here (ex. 1985)
  37.  
  38.  
  39.       Percentage = Percentage of files that can be older than the
  40.                    specified earliest date.  If the percentage is
  41.                    GREATER than this number the program returns
  42.                    and errorlevel of 1, otherwise it returns an
  43.                    errorlevel of 0.
  44.  
  45.       Path = Path to the directory to check files.  DO NOT USE
  46.              A TRAILING BACKSLASH HERE!
  47.  
  48.  
  49.  
  50. Warranty & Disclaimer:
  51.  
  52. THIS PRODUCT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
  53. INCLUDING ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR
  54. PURPOSE.  THE ENTIRE RISK AS TO THE RESULTS AND PERFORMANCE OF THE
  55. PROGRAM IS ASSUMED BY YOU.  FURTHERMORE, I THE AUTHOR DO NOT WARRANT,
  56. GUARANTEE, OR MAKE ANY REPRESENTATIONS REGARDING THE USE OF OR THE
  57. RESULTS OF THE USE OF THE PROGRAM, OR THAT THE PROGRAM WILL RUN WITHOUT
  58. ERROR, AND YOU RELY ON THE PROGRAM AND RESULTS SOLELY AT YOUR OWN RISK.
  59. I THE AUTHOR CANNOT ACCEPT RESPONSIBILITY FOR SYSTEM DAMAGE, LOSS OF
  60. PROFIT, OR ANY OTHER SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
  61. RESULTING FROM THE USE OR INABILITY TO USE THIS PRODUCT.
  62.  
  63.  
  64. If you have any problems with using this file you can leave a message
  65. for me on my BBS, or a message on RIME RBBS conference or RBBS-NET
  66. RBBS-PC conference.
  67.  
  68.                                Dan Shore - SysOp
  69.                                THE SHORELINE BBS
  70.                                DGS Systems (Wonder)
  71.                                   301-946-2771
  72.                                RIME Node-Id -> SHORLINE
  73.  
  74.